/* 設定全站預設字型 */
body {
    font-family: "Raleway", "Noto Sans", Arial, sans-serif, -apple-system, BlinkMacSystemFont,"Microsoft JhengHei","Segoe UI","Roboto","Helvetica Neue", Arial, sans-serif,"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    position: relative;
    top: 0px;
	overflow-x: scroll;
	overflow-y: auto;
}

.header-item {
    height: 50px;
}

.home-desc-center {
    vertical-align: top;
}
.home-login {
    position: relative;
    top: 20vh;
}
@media (min-width: 768px) {
    .home-login {
        top: 10vh;
    }
}

#nav_account {
    position: absolute;
    left: calc(50vw - 18px);
    cursor: pointer;
}

.text-green {
    color: var(--bs-web-main) !important;
}
.text-danger {
    color: var(--bs-font-text-danger) !important;
}

.bold {
    font-weight: bold;
    color: var(--bs-web-gray);
}

.form-label-bar th {
    background-color: var(--bs-bg-light-gray);
    line-height: 1.1;
}

.form-label-bar.arc th:first-child {
    border-radius: 8px 0px 0 0; /* 上左, 上右, 下右, 下左 (順時針) */
}
.form-label-bar.arc th:last-child {
    border-radius: 0px 8px 0 0; /* 上左, 上右, 下右, 下左 (順時針) */
}

.form-label-bar .title {
    color: var(--bs-web-gray);
    font-weight: bold;
    font-size: 0.75rem !important;
}

.form-label-bar .title .sub {
    font-size: 0.625rem !important;
}

.form-label {
    font-size: 0.875rem !important;
    font-weight: bold;
    color:  var(--bs-web-gray);
    margin-bottom: .75rem;
    margin-top: .75rem;
}
.form-label.normal {
    font-weight: normal;
}
.form-label .sub {
    font-size: 0.75rem !important;
}
.form-label.sub {
    font-size: 0.75rem !important;
    font-weight: normal;
}

@media (min-width: 768px) { /* 中螢幕以上裝置 */
    .form-label-bar .title {
        font-size: 1rem !important;
    }
    .form-label {
        font-size: 1rem !important;
    }
    .form-label.sub {
        font-size: 0.9rem !important;
    }

    .form-label-bar .title .sub {
        font-size: .75rem !important;
    }
}

.subtitle {
    font-size: 0.825rem;
    color: #6c6c6c;
    padding-bottom: 1.25rem;
}

.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;

    border: 1.5px solid #9eaec5;
    border-radius: 16px;
    background-color: #fff;
}

.form-control.other {
    border-bottom: 2px solid #e3e3e3;
    background-color: unset;
    text-align: left;
    text-align-last: left;
    padding: 1.25rem 0px;
}

.control-label  {
    font-size: 1.125rem;
    color: #4f5257;
}

.formEdit .form-control {
    padding: 0.8rem 2.3rem;
}

.calendar_date {
    cursor: pointer;
    text-align: center;
    text-align-last: center;
    border-radius: 6px;
    box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid #ced4da;
    background-color: #fbfbfb;
    font-weight: 500;
    
}

select.calendar_date {
    font-size: 0.875rem;
    padding: .25rem 1rem;
}

.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    /*padding: 0.8rem 2.3rem;*/
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.input-unit {
    font-size: 14px;
    color: #7c7c7c;
    pointer-events: none;
    position: absolute;
    top: calc(0.4rem + 7px);
    right: 0.6rem;
}

.form-check-input {
    margin-top: 0px;
}
input[type=checkbox]:checked, input[type=radio]:checked {
    background-color: #3f5d95;
    border-color: #3f5d95;
}
input.form-control::placeholder, textarea.form-control::placeholder {
    color: #cacaca;
}

textarea {
    resize: none;
}

.navbar-header {
    height: 50px;
    box-shadow: unset;
    background-color: var(--bs-web-bg-white);
    padding: 0px;
}

#nav_account {
    position: absolute;
    left: calc(50vw - 25px);
    cursor: pointer;
}

.header-profile-user {
    width: 42px;
    height: 42px;
    background-color: var(--bs-web-bg-white);
}

/* ==== 上方標籤區 ==== */
.top-tapmenu {
    border-radius: 6px 6px 0px 0px;
    background-color: white;
    height: 45px;
    color: #8f8f8f;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    top: 1px;

    box-shadow: 
        2px -2px 2px rgba(180, 180, 180, 0.25), 
        -2px -2px 2px rgba(180, 180, 180, 0.25);
}

.top-tapmenu.action {
    color: var(--bs-web-main);
    font-weight: bold;
    font-size: 1.15rem;
}
.top-tapmenu.none {
    background-color: #e2e2e2;
    cursor: default;
}

/*==== 左側選單 ====*/ 
.simplebar-content {
    min-height: 100vh;
}
#sidebar-menu {
    padding: unset;
}
.sidebar-logo {
    padding: 1.125rem 3rem 2rem;
}
.sidebar-logo img {
    width: 40vw;
    max-width: 150px;
}
/*==== 左側選單END ====*/ 

/*==== 訊息視窗 ==== */
.modal-header {
    border-bottom: unset;
    padding: 2rem 1rem 0rem 1rem;   /*上左下右*/
}
.modal-title {
    width: 100%;
    text-align: center;

    font-size: 1.25rem;
    font-weight: bold;
    color: var(--bs-font-text-gray);
    margin-left: calc(15px + 0.5rem);
}

.modal-footer {
    border-top: unset;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 1.125rem;
}
.modal-footer .btn {
    width: 100%;
    padding: 0.5rem;
}

.modal-header .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0px;
    margin: 0px;
}

/*==== 設定按鈕樣式 START ==== */
.icon-btn-edit {
    background: url("/images/icons/icon-edit/normal.png") no-repeat center center;
    background-size: contain;
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
}
.icon-btn-edit:hover {
    background-image: url("/images/icons/icon-edit/hover.png");
}
.icon-btn-edit:active, .icon-btn-edit:focus {
    background-image: url("/images/icons/icon-edit/active.png");
}

.icon-btn-del {
    background: url("/images/icons/icon-del/normal.png") no-repeat center center;
    background-size: contain;
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
}
.icon-btn-del:hover {
    background-image: url("/images/icons/icon-del/hover.png");
}
.icon-btn-del:active, .icon-btn-del:focus {
    background-image: url("/images/icons/icon-del/active.png");
}

.btn {
    line-height: 1.4;
    /*min-height: 54px;*/
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-size: 1.125rem;
}
.btn-green {
    border-radius: 6px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
    background-color: var(--bs-web-main);

    /*font-size: 0.875rem;*/
    font-weight: 500;
    /*height: 40px;*/
    appearance: none;
}
.btn-white {
    border-radius: 6px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
    background-color: var(--bs-bg-light-gray);
 }

.btn-edit  {
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    background-color: var(--bs-bg-light-gray);
    color: var(--bs-web-main);
    font-weight: bold;
    font-size: 1.125rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.btn-edit:hover {
    color: var(--bs-web-main);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
}

.btn-edit:active, .btn-edit:focus {
    color: var(--bs-web-main);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
    border: solid 2px var(--bs-web-main);
}

.btn-ok  {
    border-radius: 8px;
    background-color: var(--bs-web-main);
    border-color: var(--bs-web-main);
    box-shadow: 0 2px 4px 0 rgba(12, 54, 56, 0.4);
    font-weight: bold;
    font-size: 1.125rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    color: #fff;
}

.btn-ok:hover {
    background-color: var(--bs-web-main); /* 滑鼠移上去的顏色 */
    border-color: var(--bs-web-main);
    box-shadow: 0 0 4px 0 rgba(12, 54, 56, 0.4);
    color: #fff;
}

.btn-ok:active, .btn-ok:focus {
    background-color: #52a7a9; /* 點擊按下去的顏色 */
    border-color: #52a7a9;
    box-shadow: 0 0 4px 0 rgba(12, 54, 56, 0.4);
}

.btn-ok.disabled {
    background-color: #ebebeb;
    border-color: #ebebeb;
    color: #a5a5a5;
    box-shadow: inset 0 0 12px 0 rgba(0, 0, 0, 0.25);
}

.btn-cancel {
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    background-color: var(--bs-web-gray);
    font-weight: bold;
    font-size: 1.125rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    color: #939393;
}

.btn-cancel:hover {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
    color: #939393;
}

.btn-cancel:active, .btn-cancel:focus {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
    border: solid 2px #ebebeb;
    color: #939393;
}

.btn-add {
    height: 40px;
    cursor: pointer;
    background-color: var(--bs-web-main);
    border-radius: 25px;
    font-size: 1rem;

    box-shadow: 0 4px 12px 0 rgba(12, 54, 56, 0.4);
    color:white;

    display: -webkit-box; 
    display: -ms-flexbox;
    display: flex; 
    -webkit-box-align: center; 
    -ms-flex-align: center;
    align-items: center; 
    -webkit-box-pack: center; 
    -ms-flex-pack: center;
    justify-content: center; 
}

.btn-add:hover {
    background-color: var(--bs-web-main); /* 滑鼠移上去的顏色 */
    box-shadow: 0 0 4px 0 rgba(12, 54, 56, 0.4);
    color:white;
}

.btn-add:active, .btn-add:focus {
    background-color: #52a7a9; /* 點擊按下去的顏色 */
    box-shadow: 0 0 4px 0 rgba(12, 54, 56, 0.4);
    color:white;
}

.btn-add.disabled {
    background-color: #ebebeb;
    box-shadow: inset 0 0 12px 0 rgba(0, 0, 0, 0.25);
    color: #a5a5a5;
}

.badge-user {
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    color: #666;
    background-color: var(--bs-bg-light-gray);
}

.badge-admin {
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    color: #fff;
    background-color: var(--bs-web-main);
}
/*==== 設定按鈕樣式 END ==== */

.rounded-square {
    display: inline-block;    /* 保持內聯塊顯示 */
    width: 10px;             /* 設定寬度 */
    height: 20px;            /* 設定高度 */
    border-radius: 4px;      /* 設定弧角（可調整） */
}

.table-border-none tr {
    border: none; /* 移除 tr 本身的邊框 */
}

.table-border-none td, table th {
    border: none; /* 移除每個欄位的邊框 */
}

.px-15 {
    padding: 1rem 0;
}

.px-30 {
    padding: 1rem 0;
}

@media (min-width: 768px) { /* 中螢幕以上裝置 */
    .px-15 {
        padding: 1rem 15%;
    }

    .px-30 {
        padding: 1rem 30%;
    }
}

/* 標籤 */ 
.tags-container > div.no-delete {
    padding: .4rem 1rem;
}

/* 1, 4, 7, 10... */
.tags-container > div:nth-child(3n+1) {
    background-color: #aa8ac3;
}

/* 2, 5, 8, 11... */
.tags-container > div:nth-child(3n+2) {
    background-color: #f2b440;
}

/* 3, 6, 9, 12... */
.tags-container > div:nth-child(3n) {
    background-color: var(--bs-web-bg-gray);
}

.border-solid {
    border: solid 1.2px var(--bs-web-light-gray);
}
.border-bottom-solid {
    border-bottom: 1px solid var(--bs-web-light-gray);
}
.border-top-solid {
    border-top: 1px solid var(--bs-web-light-gray);
}

:root {
    --bs-web-main: #3f5d95;
    --bs-web-light-gray: #eaeef1;
    --bs-bg-light-gray: #f3f3f3;
    --bs-web-gray: #666;
    --bs-font-text-gray: #6d6d6d;
    --bs-font-text-danger: #da7272;
    --bs-web-bg-gray: #b1b1b1;
    --bs-web-bg-white: #fefefe
}

/* 2025-06-18 */
.outer {
    width: 42px;
    height: 42px;
    background: linear-gradient(to right, #eeeeee, #ecbfa9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner {
    width: 38px;
    height: 38px;
    font-size: 1.125rem;
    background-color: #3f5d95;
    display: block;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waves-effect span {
    color: #bdbdbd;
}

.text-white {
    color: white;
}

.activity-content {
    font-size: 1.125rem;
    line-height: 1.6;
    padding: 15px !important;
    color: #4f5257;
}

.content {
    font-size: 1.125rem;
    color: #4f5257;
}
.content a {
    color: #7a8899;
}

.btn-grey {
    border-radius: 12px;
    background-color: #bdbdbd;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.btn-blue {
    border-radius: 12px;
    background-color: #3f5d95;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

body {
    background-color: var(--bs-web-bg-white);
}

.form-edit-input {
    background-color: #fff;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.form-edit-input label {
    color: var(--bs-web-gray);
    font-size: 1.125rem;
    text-align: left;
    width: 180px;
    margin: 0px;
}

.form-edit-input a {
    font-size: 1.125rem;
}

.form-edit-input .form-control {
    border-radius: 0;
    box-shadow: unset;
    border: 0;
    color: #4f5257;
    font-weight: bold;
}

.form-edit-input select {
    direction: rtl; 
}

#side-menu li a {
    border-radius: 12px !important;
}

.nav_team_son {
    border-radius: 12px;
    border: solid 1.5px #adadad;
}

.nav_team_son a {
    font-size: 1.125rem !important;
}

.nav_team_son:active, .nav_team_son:hover {
    color: #4f5257 !important;
    background-color: #d6dbe3 !important;
}

.mm-active>a {
    color: #4f5257 !important;
    background-color: #d6dbe3 !important;
}

.mm-active .active {
    color: #f2f4f6 !important;
    background-color: #3f5d95 !important;
}

.waves-effect span {
    font-size: 1.4rem;
    padding-left: 1rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: center;
    color: #bdbdbd;
}

.mm-active > .waves-effect span {
    color: #4f5257;
}

.pr-0 {
    padding-right: 0 !important;
}

.line {
    border-top: 1px solid #bdbdbd;
}

.btn-transparent {
    border-radius: 12px;
    border: solid 1.5px #9eaec5;
    padding-top: .75rem;
    padding-bottom: .75rem;
    color: #4f5257;
}

.bottom_img {
    width: 1.7rem;
    height: 1.7rem;
}

.text-blue {
    color: #3f5d95;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 16px 50px 16px 16px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;

    border: 1.5px solid #9eaec5;
    border-radius: 16px;
    background-color: #fff;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M3 8l9 9 9-9' stroke='%234f5257' stroke-width='2.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;

    color: #3f5d95;

    cursor: pointer;

    text-align: center; /* 讓選單的 placeholder 置中 */
    text-align-last: center; /* 讓選擇的選項內容置中 */
    -moz-text-align-last: center; /* Firefox 兼容 */
    direction: ltr;
}

select option {
    direction: ltr;
}

/* 移除 Firefox 的內建箭頭 */
select::-ms-expand {
    display: none;
}

/* Hover / Focus 效果（可選） */
select:focus {
    outline: none;
    border-color: #7e9ac4;
}

select.form-control {
    background-image:none;
}

.text-align-left {
    text-align-last: left;
}

.modal-body {
    font-size: large;
}

.carpal_tunnel_syndrome {
    cursor: pointer;   
}

.delete_img {
    border-radius: 12px;
}